package com.example.demo.common.annotation;

import java.lang.annotation.*;

/**
 * You need a token.
 *
 * @author Mei Ruoxiao
 * @since 2020/8/20
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LoginToken {
    boolean required() default true;
}
